package com.aspose.cells.a;

import com.aspose.cells.a.e.zf;

public abstract class za {
   public static final boolean a = !"Cells".equals("Android");
   public static final boolean b;
   public static final byte c;
   private static final boolean d;

   public static final String a(String var0) {
      return d ? System.getProperty(var0) : null;
   }

   static {
      boolean var0 = false;
      boolean var1 = false;
      byte var2 = 2;

      try {
         String var3 = System.getProperty("Aspose.Cells.CheckSysProperty");
         var1 = "DYNAMIC".equals(var3);
         var0 = true;
         var3 = System.getProperty("java.version");
         if (var3 != null) {
            if (var3.startsWith("1.7")) {
               var2 = 3;
            } else if (var3.startsWith("1.6")) {
               var2 = 2;
            } else if (var3.startsWith("1.5")) {
               var2 = 1;
            } else if (var3.startsWith("1.4")) {
               var2 = 0;
            }
         }
      } catch (Throwable var4) {
         zf.a("Unable to access System properties: " + var4.getMessage());
      }

      b = var1;
      d = var0;
      c = var2;
   }
}
